﻿<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
    <title>{$tkd.title|parseTpl}</title>
    <meta name="keywords" content="{$tkd.keywords|parseTpl}">
    <meta name="description" content="{$tkd.description|parseTpl}">
    <meta name="author" content="www.ptcms.com">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width"/>
    <meta name="applicable-device" content="pc">
    <meta http-equiv="mobile-agent" content="format=html5; url={$kx.config.mobileurl}__SELF__">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <meta http-equiv="Cache-Control" content="no-transform"/>
    <link rel="stylesheet" href="{$kx.config.resurl}/template/kxwebno3/css/xiaoshuo1.css"/>
    <script type="text/javascript" src="{$kx.config.resurl}/template/kxwebno3/js/jquery.js"></script>
    <script type="text/javascript" src="{$kx.config.resurl}/template/kxwebno3/js/read.js"></script>
</head>
<body>
<!--头部-->
{include file="/system/header"}
<div class="content_read">
    <div class="box_con">
        <div class="con_top">
            <script>textselect();</script>
            <a title="{$kx.config.sitename}" href="/">{$kx.config.sitename}</a>&nbsp;&gt;&nbsp;
            <a title="{$novel.name}" href="{link=novel.novel.index novelid=$novel.id pinyin=$novel.pinyin}">{$novel.name}</a>&nbsp;&gt; &nbsp;
            <a title="{$chapter.name}" href="{link=novel.chapter.read novelid=$novel.id pinyin=$novel.pinyin chapterid=$chapter.id}">{$chapter.name}</a>
        </div>
        <div class="bookname">
            <h1><a title="{$chapter.name}" href="{link=novel.chapter.read novelid=$novel.id pinyin=$novel.pinyin chapterid=$chapter.id}">{$chapter.name}</a></h1>
            <div class="bottem1">
                <a id="pager_prev" href="{$prevurl}" target="_top" class="pre">< {$prevpage|default="上一章","上一页"}</a>&larr;
                <a id="pager_current" href="{link=novel.novel.index novelid=$novel.id pinyin=$novel.pinyin}" target="_top" title="" class="back">章节列表</a>&rarr;
                <a id="pager_next" href="{$nexturl}" target="_top" class="next">{$nextpage|default="下一章","下一页"} ></a>
                <a href="{link=user.mark.add novelid=$novel.id chapterid=$chapter.id}">加入书签</a>
            </div>
            <div class="lm">推荐阅读：{block method="recommend" name=list recommendid=2 num=10}
                {loop=$list}
                <a href="{link=novel.novel.index novelid=$loop.data.novel.id pinyin=$loop.data.novel.pinyin}" target="_blank">{$loop.data.novel.name}</a>、
                {/loop}
            </div>
        </div>
        <div id="content">
            {$chapter.content|showchapter}
        </div>
        <div class="bottem2">
            <a id="pager_prev" href="{$prevurl}" target="_top" class="pre">< {$prevpage|default="上一章","上一页"}</a>&larr;
            <a id="pager_current" href="{link=novel.novel.index novelid=$novel.id pinyin=$novel.pinyin}" target="_top" title="" class="back">章节列表</a>&rarr;
            <a id="pager_next" href="{$nexturl}" target="_top" class="next">{$nextpage|default="下一章","下一页"} ></a>
        </div>
    </div>
</div>
<script language="javascript">
    document.onkeydown = keypage;
    var prevpage = "{$prevurl}";
    var nextpage = "{$nexturl}";
    var index_page = "{link=novel.novel.index novelid=$novel.id pinyin=$novel.pinyin}"

    function keypage() {
        if (event.keyCode == 37) location = prevpage
        if (event.keyCode == 39) location = nextpage
        if (event.keyCode == 13) document.location = index_page
    }
</script>
<!--底部版权-->
{include file="/system/footer"}
</body>
</html>